 #define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
typedef int datatype;
#define MAXSIZE 10
#include<string.h>

typedef struct Seqlist
{
	datatype arr[MAXSIZE];
	int size;
}Seqlist;

void Seqlistinit(Seqlist* ps);
void Seqlistpushback(Seqlist* ps, datatype x);
void Seqlistprint(Seqlist* ps);
void Seqlistfreeback(Seqlist* ps);
void Seqlistpushfront(Seqlist* ps, datatype x);
void Seqlistfreefront(Seqlist* ps);
void Seqlistinsert(Seqlist* ps, int y, datatype x);
void Seqlistfree(Seqlist* ps,int y);


